package com.pig4cloud.pig.page.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "跟进表")
public class FollowRecord {
	@TableId(value = "follow_id",type = IdType.ASSIGN_ID )
	@Schema(description = "跟进id")
	private Long followId;

	@Schema(description = "订单id")
	private Long orderId;

	@Schema(description = "跟进内容")
	private String followName;

	@Schema(description = "地陪id")
	private Long guideId;

	@Schema(description = "删除标志")
	private String delFlag;

	@Schema(description = "创建人")
	private String createBy;

	@Schema(description = "更新人")
	private String updateBy;

	@Schema(description = "创建时间")
	@TableField(fill = FieldFill.INSERT) // 插入时
	private LocalDateTime createTime;

	@Schema(description = "更新时间")
	@TableField(fill = FieldFill.UPDATE) // 更新时
	private LocalDateTime updateTime;

	@Schema(description = "备注")
	private String remark;

}
